ComponentOne Expression Editor for WPF
AddFunction(ExpressionItem,Func<List<Object>,Object>,Int32) Method

C1.WPF.ExpressionEditor.4 Assembly > C1.WPF.ExpressionEditor Namespace > C1ExpressionEditor Class > AddFunction Method : AddFunction(ExpressionItem,Func<List<Object>,Object>,Int32) Method
Provides the function description for the C1ExpressionEditorPanel.
The delegate that evaluates the function.
Arguments count.
Added a custom function to engine of C1ExpressionEditor.
Syntax
'Declaration
 
Public Overloads Sub AddFunction( _
   ByVal item As ExpressionItem, _
   ByVal function As System.Func(Of List(Of Object),Object), _
   ByVal argsCount As System.Integer _
) 
public void AddFunction( 
   ExpressionItem item,
   System.Func<List<object>,object> function,
   System.int argsCount
)

Parameters

item
Provides the function description for the C1ExpressionEditorPanel.
function
The delegate that evaluates the function.
argsCount
Arguments count.
See Also

Reference

C1ExpressionEditor Class
C1ExpressionEditor Members
Overload List